# allow accessing from  local host 
ALLOWED_HOSTS = ['*']

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'dev_db',
        'USER': 'dev',
        'PASSWORD': 'dev12345',
        'HOST': 'mysql',   # host value must be same as  the service name in docker-compose file
        'PORT': '3306',
        'OPTIONS': {'charset': 'utf8mb4'},
    }
}